/**
 * 
 */
package io.dora.conf;

import java.util.Map;

/**
 * 服务参数解析类
 * 
 * @author zhaohongbo
 *
 */
public class URLParam {
	
	protected Map<String, String> parameters;
	
	public URLParam() {
		
	}
	
	public URLParam(Map<String, String> parameters) {
		super();
		this.parameters = parameters;
	}

	public Map<String, String> getParameters() {
		return parameters;
	}

	public void setParameters(Map<String, String> parameters) {
		this.parameters = parameters;
	}
	
	public String getString(String paramName) {
		return parameters.get(paramName);
	}
	
	public Integer getInteger(String paramName) {
		return Integer.valueOf(parameters.get(paramName));
	}
}
